<template>
	<view class="shopping_type">
		<view class="type_sm">
			<image @click="handNavTo('carouselMap/getAreaMallList')" class="type_sm_img"
				src="../../../static/img/quyu_bg.png" mode="">
			</image>
			<image @click="navToWindow()" class="type_sm_img"
				src="../../../static/img/qiye.png" mode="">
			</image>
		
		</view>
		<view class="type_sm">
			<image @click="handNavTo('carouselMap/getSpecialPriceMallList')" class="type_sm_img"
				src="../../../static/img/tejia_bg.png" mode="">
			</image>
			<image @click="handNavTo('carouselMap/getWholesaleMallList')" class="type_sm_img"
				src="../../../static/img/pifa_bg.png" mode="">
			</image>

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			navToWindow(url){
				uni.navigateTo({
					url:'/pages/enterpriseWindow/enterpriseWindow'
				})
			},
			handNavTo(apiUrl) {
				uni.navigateTo({
					url: '/pages/regionMall/regionMall?url=' + apiUrl
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.shopping_type {
		display: flex;
		height: 411rpx;
		padding: 0 20rpx;
		margin: 20rpx 0;
		justify-content: space-between;
		.type_sm {
			width: 49%;
			display: flex;
			flex-direction: column;

			.type_sm_img {
				width: 100%;
				height: 50%;
				border-radius: 20rpx;
				margin-bottom: 14rpx;

				&:last-child {
					margin-bottom: 0;
				}
			}
		}

		.type_lg {
			width: 50%;
			height: 100%;
			margin-right: 14rpx;
			border-radius: 20rpx;

		}
	}
</style>
